package com.qf.controller;

import com.qf.pojo.Recommend;
import com.qf.pojo.resp.BaseResult;
import com.qf.service.RecommendService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("/recommend")
public class RecommendController {

    @Resource
    RecommendService recommendService;

    @RequestMapping("/findAllRecommend")
    public BaseResult findAllRecommend(){
        BaseResult baseResult=recommendService.findRecommend();
        return baseResult;

    }



}
